package org.soenea.doitall.domain.model.invite;

import java.util.List;

import org.dsrg.soenea.domain.proxy.ListProxy;
import org.soenea.doitall.domain.model.group.IGroup;
import org.soenea.doitall.domain.model.invite.mapper.InviteInputMapper;

public class InviteListProxy extends ListProxy<IInvite> {
	private IGroup parent;

	public InviteListProxy(IGroup parent) {
		super();
		this.parent = parent;
	}
	@Override
	protected List<IInvite> getActualList() throws Exception {
		return InviteInputMapper.find(parent);
	}

}
